package xyz.luhui1hao.sell.domain;

import lombok.Data;
import xyz.luhui1hao.sell.enums.OrderStatusEnum;
import xyz.luhui1hao.sell.enums.PayStatusEnum;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName OrderMaster
 * @Description TODO
 * @Author luhui1hao
 * @Date 2018/8/21 下午2:10
 * @Version 1.0
 */
@Data
public class OrderMaster {
    //订单Id
    private String orderId;
    //买家名字
    private String buyerName;
    //买家手机号
    private String buyerPhone;
    //买家地址
    private String buyerAddress;
    //买家openid
    private String buyerOpenId;
    //订单总金额
    private BigDecimal orderAmount;
    //订单状态 默认0为新下单
    private Integer orderStatus = OrderStatusEnum.NEW.getCode();
    //支付状态 默认0为未付款
    private Integer payStatus = PayStatusEnum.WAIT.getCode();
    //创建时间
    private Date createTime;
    //修改时间
    private Date updateTime;
}
